home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 September
/
PCWorld_2006-09_cd.bin
/
v cisle
/
flyakite
/
FlyakiteOSX v3.5.exe
/
$PLUGINSDIR
/
Restore Point.vbs
< prev
next >
Wrap
Text File
|
2006-02-25
|
734b
|
20 lines
'Unattended System Restore Point
'sysrestorepoint.vbs
'⌐ Doug Knox - rev 02/06/2002
'This code may be freely distributed/modified
'Downloaded from www.dougknox.com
'Extracted from original code by Bill James - www.billsway.com
Set sr = getobject("winmgmts:\\.\root\default:Systemrestore")
msg = "New Restore Point Successfully Created" & vbCR & vbCR
msg = msg & "It is listed as: FlyakiteOSX v3.5" & vbCR
msg = msg & "Created on: " & Date & " at " & Time
If (sr.createrestorepoint("FlyakiteOSX v3.5", 0, 100)) = 0 Then
t = MsgBox(msg, vbSystemModal, "Create Restore Point")
Else
t = MsgBox("Restore Point Creation Failed!", vbExclamation + vbSystemModal, "Create Restore Point")
End If
Set sr = Nothing